@foreach($nav_left as $item)
    <li class="layui-nav-item">
        <a class="" href="javascript:;">{{$item->name}}</a>
        @foreach($access as $val)
            @if($item->id == $val->group_id)
            <dl class="layui-nav-child">
                <dd><a href="javascript:;" url="{{$val->title}}" name="{{$val->name}}" id="{{$val->title}}">{{$val->name}}</a></dd>
            </dl>
            @endif
        @endforeach
    </li>
@endforeach